import {Component} from 'react'
import Son from './components/Son';

class App extends Component{
    state = {
        count:0,
        msg:'atguigu'
    }
   
    render(){
        let {count, msg} = this.state;
        return <div>
            <h3>App</h3>
            <p>App state count: {count}</p>
            <p>App state msg: {msg}</p>
            <hr/>
            <Son count={99}/>
        </div>
    }
}
export default App;